package com.ztgf.order.models.bo;

import com.alibaba.fastjson.annotation.JSONField;
import com.ztgf.common.bo.BaseBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * 订单合同关系表BO
 *
 * @author chenyu.wang
 * @Date 2020-06-03 15:58:52
 */
@Data
public class OrderContractRelationBO extends BaseBO implements Serializable {
    @ApiModelProperty(value = "标题或者订单号")
    private String titleOrOrderNo;
    @ApiModelProperty(value = "卖家名称")
    private String sellerName;
    @ApiModelProperty(value = "交易开始时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//输入字符串
    private Date tradingStartTime;
    @ApiModelProperty(value = "交易结束时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//输入字符串
    private Date transactionEndTime;


}
